package com.ruoyi.system.domain.zhuangxiumain.shopMain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.*;

import java.util.List;

/**
 * 产品介绍图片表
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("product_details_image")
public class ProductDetailsImage extends BaseEntity {
    private static final long serialVersionUID = 1L;
    /**
     * 产品介绍详情id
     */
    @TableId(value = "product_details_id",type = IdType.ID_WORKER_STR)
    private Integer productDetailsId;
    /**
     * 商品ID
     */
    private Integer productId;
    /**
     * 图片URL
     */

    private String productDetailsUrl;

    @TableField("product_details_url")
    private List<String> productDetailsUrls;


    public Integer getProductDetailsId() {
        return productDetailsId;
    }

    public void setProductDetailsId(Integer productDetailsId) {
        this.productDetailsId = productDetailsId;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getProductDetailsUrl() {
        return productDetailsUrl;
    }

    public void setProductDetailsUrl(String productDetailsUrl) {
        this.productDetailsUrl = productDetailsUrl;
    }

    public List<String> getProductDetailsUrls() {
        return productDetailsUrls;
    }

    public void setProductDetailsUrls(List<String> productDetailsUrls) {
        this.productDetailsUrls = productDetailsUrls;
    }
}
